package com.cgs.springboottes2secrity.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author cgs
 * @version woNiu 98
 * @date 2023/4/19 15:33
 */
@Getter
@AllArgsConstructor
public enum ResponseCode {
    SUCCESS(200,"success！"),
    FAIL(500,"fail！"),
    NOT_FOUND(404,"未找到信息！"),
    PWD_ERROR(409,"登陆验证失败，账号或密码错误！"),
    NOT_LOGIN(201,"未登录！"),
    NO_AUTHED(403,"未授权！");
    private int code;
    private String msg;
   /* ResponseCode(int code,String msg){
        this.code=code;
        this.msg=msg;
    }*/
}
